cmake_minimum_required(VERSION 3.12)

project(lesson_1)

set(INFO "Alex: ")
message(STATUS ${INFO} "CMAKE_CURRENT_BINARY_DIR="${CMAKE_CURRENT_BINARY_DIR})
message(STATUS ${INFO} "CMAKE_CURRENT_SOURCE_DIR="${CMAKE_CURRENT_SOURCE_DIR})

add_executable(${PROJECT_NAME} main.cpp)

set(CMAKE_INSTALL_PREFIX ${CMAKE_CURRENT_BINARY_DIR})
message(STATUS "CMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}")

# install(TARGET ${PROJECT_NAME}
#     RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
# )
install(
    FILES
        ${PROJECT_SOURCE_DIR}/hello.py
    DESTINATION
        # ${CMAKE_INSTALL_PREFIX}
        tools
    )